 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib prefix="pm" uri="http://heroj.cn/permissionTag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<head>
<title>WidgetAttr</title>
 <script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
 <script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
 <link href="${cdnAddress}/css/util.css${cacheVersion}" rel="stylesheet" type="text/css" />
</head>
<body>
<input type="hidden" id="projectName" value="${projectName}" />
<form id="WidgetAttrListForm" method="post">
 	 <input class="mini-hidden" id="ids" name="ids" value=""/> 	 
  <div>
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
        <div id="formseach">
            <table style="width:100%;">
          
</td>
           	 </tr>           	 <tr>
           	 <td>:<input  class="mini-textbox"   id="attrId" name="attrId" /></td>
           	 </tr>           	 <tr>
           	 <td>:<input  class="mini-textbox"   id="controlId" name="controlId" /></td>
           	 </tr>           	 <tr>
           	 <td>属性key值:<input  class="mini-textbox"   id="attrKey" name="attrKey" /></td>
           	 </tr>           	 <tr>
           	 <td>属性value值:<input  class="mini-textbox"   id="attrValue" name="attrValue" /></td>
           	 </tr>           	 <tr>
           	 <td>控件参数类型:<input  class="mini-textbox"   id="attrParamType" name="attrParamType" /></td>
           	 </tr>           	 <tr>
           	 <td>默认值:<input  class="mini-textbox"   id="attrDefaultValue" name="attrDefaultValue" /></td>
           	 </tr>           	 <tr>
           	 <td>控件属性ID:<input  class="mini-textbox"   id="attrTypeId" name="attrTypeId" /></td>
           	 </tr>           	 <tr>
           	 <td>控件属性类型名称:<input  class="mini-textbox"   id="attrTypeName" name="attrTypeName" /></td>
           	 </tr> 
			 <tr><td><a class="mini-button" iconCls="icon-search" onclick="seachRow()">查询</a><a class="mini-button" iconCls="icon-undo" onclick="resetForm()">重置</a></td>
          	</table>   
            </div>        
        </div>
    </div>
</form> 
    <div>
     <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                 	<td style="width:100%;">
                 	 <pm:Permission>
                        <a class="mini-button" id="addWidgetAttr" iconCls="icon-add" onclick="addWidgetAttr()">增加</a>
                        <a class="mini-button" id="editWidgetAttr" iconCls="icon-edit" onclick="editWidgetAttr()">编辑</a>
                        <a class="mini-button" id="removeWidgetAttr" iconCls="icon-remove" onclick="removeWidgetAttr()">删除</a>
                        <a class="mini-button" id="freezeWidgetAttr" iconCls="icon-lock" onclick="freezeWidgetAttr()">冻结</a>     
                        <a class="mini-button" id="freeWidgetAttr" iconCls="icon-unlock" onclick="freeWidgetAttr()">解冻</a>            
                        <a class="mini-button" id="importWidgetAttr" iconCls="icon-upload" onclick="importWidgetAttr()">导入</a>            
                        <a class="mini-button" id="exportWidgetAttr" iconCls="icon-download" onclick="exportWidgetAttr()">导出</a>            
                     </pm:Permission>
                    </td>
                     
                </tr>
            </table>           
        </div>
    </div>
   <div class="mini-fit" style="height:100px;">
  <div id="widgetAttrGrid" class="mini-datagrid" style="width:100%;height:100%;" onrowdblclick="onrowdblclick" 
        url="${projectName}/WidgetAttrAdmin/List"  idField="id"   sizeList="[10,20,30,50]" pageSize="30" multiSelect="true" >
        <div property="columns">
            <div type="checkcolumn"></div> 
            <div field="id" 
           ></div>
            <div field="attrId" 
           ></div>
            <div field="controlId" 
           ></div>
            <div field="attrKey" 
           >属性key值</div>
            <div field="attrValue" 
           >属性value值</div>
            <div field="attrParamType" 
           >控件参数类型</div>
            <div field="attrDefaultValue" 
           >默认值</div>
            <div field="attrTypeId" 
           >控件属性ID</div>
            <div field="attrTypeName" 
           >控件属性类型名称</div>
        </div>
    </div> 

    </div>
<script src="${scripts}/widgetattr/widgetAttrList.js${cacheVersion}" type="text/javascript"></script>
</body>

</html>